#ifndef TEMPO_DIALOG_H
#define TEMPO_DIALOG_H

#include <QDialog>

class QRadioButton;
class QWidget;

class MusicSettings;

/*!
 * Boîte de dialogue pour choisir le tempo
 */
class TempoDialog: public QDialog {
  Q_OBJECT;

  public:
    TempoDialog(MusicSettings *, QWidget *parent = 0);

  private:
    MusicSettings *settings;

    QRadioButton *largo;
    QRadioButton *larghetto;
    QRadioButton *adagio;
    QRadioButton *andante;
    QRadioButton *moderato;
    QRadioButton *allegro;
    QRadioButton *presto;
    QRadioButton *prestissimo;

    void initialize();

  private slots:
    void validate();

};

#endif
